@charset "utf-8";

$color:rgb(204, 151, 86);

.w {
    width: 1200px;
    margin: auto;
}

.banner {
    width: 100%;

    .swiper-container {
        width: 100%;
        cursor: pointer;

    }
}

.newItem {
    width: 100%;
    background-color: rgb(244, 244, 244);

    .title {
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;

        span {
            cursor: pointer;

            &:hover {
                color: $color;
            }
        }

        .h1 {
            cursor: pointer;
            font-weight: bolder;
            font-size: 30px;

            &:hover {
                color: $color;
            }

            &::after {
                content: '为你寻觅世间好物';
                font-size: 10px;
                margin-left: 20px;
            }
        }
    }

    .swiper-newItem {
        overflow: hidden;
        position: relative;
        height: 500px;


        .swi-newItem {
            height: 400px;
            cursor: pointer;


            .swiper-slide {
                a {
                    display: flex;
                    flex-direction: column;
                    align-items: center;

                    .m {
                        width: 100%;
                        height: 80%;
                        overflow: hidden;
                        margin-bottom: 20px;

                        .img {
                            width: 100%;
                            height: 100%;
                            transition: all 0.6s;

                            &:hover {
                                transform: scale(1.03);
                            }
                        }

                        ;


                    }



                    .p {
                        width: 150px;
                        text-align: center;
                        font-size: 15px;
                        font-weight: bolder;
                        margin-bottom: 5px;

                        &:hover {
                            color: $color;
                        }

                    }

                    ;

                    .span {
                        font-size: 15px;
                        color: red;
                        font-weight: bolder;
                    }
                }

            }
        }

        .swi-newItem-p {
            display: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            position: absolute;
            top: 50%;
            left: 0;
            transform: translateY(-50%);
            z-index: 4;
            text-align: center;
            line-height: 50px;

            .icon-shangyizhang {
                font-size: 50px;
                color: $color;
            }
        }

        .swi-newItem-n {
            display: none;
            border-radius: 50%;
            width: 50px;
            height: 50px;
            position: absolute;
            top: 50%;
            right: 0;
            transform: translateY(-50%);
            z-index: 4;
            text-align: center;
            line-height: 50px;

            .icon-shangyizhang1 {
                font-size: 50px;
                color: $color;
            }
        }

    }
}

.advice {
    width: 100%;
    background-color: #fff;

    .title {
        padding: 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;

        span {
            cursor: pointer;

            &:hover {
                color: $color;
            }
        }

        .h1 {
            cursor: pointer;
            font-weight: bolder;
            font-size: 30px;

            &:hover {
                color: $color;
            }
        }
    }

    .goods {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: 30px;

        .goods-list {
            margin: 5px;
            width: 24%;
            height: 400px;
            background-color: rgba(0, 0, 0, .1);
            margin-right: 5px;
            cursor: pointer;

            a{
                display: flex;
                flex-direction: column;
                align-items: center;
                .m {
                    width: 100%;
                    height: 80%;
                    overflow: hidden;
                    margin-bottom: 15px;
    
                    img {
                        width: 100%;
                        height: 100%;
                        transition: all 0.6s;
    
                        &:hover {
                            transform: scale(1.03);
                        }
    
                    }
    
                    ;
                }
    
                p {
                    width: 150px;
                    text-align: center;
                    font-size: 15px;
                    font-weight: bolder;
                    margin-bottom: 5px;
    
                    &:hover {
                        color: $color;
                    }
                }
    
                ;
    
                span {
                    font-size: 15px;
                    color: red;
                    font-weight: bolder;
                }
            }
            

        }
    }
}